home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / share / alsa / pcm / front.conf < prev    next >
Text File  |  2006-01-09  |  596b  |  48 lines

  1. #
  2. # Hardware output from front speakers
  3. #
  4.  
  5. pcm.!front {
  6.     @args [ CARD DEV ]
  7.     @args.CARD {
  8.         type string
  9.         default {
  10.             @func getenv
  11.             vars [
  12.                 ALSA_FRONT_CARD
  13.                 ALSA_PCM_CARD
  14.                 ALSA_CARD
  15.             ]
  16.             default {
  17.                 @func refer
  18.                 name defaults.pcm.front.card
  19.             }
  20.         }
  21.     }
  22.     @args.DEV {
  23.         type integer
  24.         default {
  25.             @func igetenv
  26.             vars [
  27.                 ALSA_FRONT_DEVICE
  28.             ]
  29.             default {
  30.                 @func refer
  31.                 name defaults.pcm.front.device
  32.             }
  33.         }
  34.     }
  35.     @func refer
  36.     name {
  37.         @func concat
  38.         strings [
  39.             "cards."
  40.             {
  41.                 @func card_driver
  42.                 card $CARD
  43.             }
  44.             ".pcm.front." $DEV ":CARD=" $CARD
  45.         ]
  46.     }
  47. }
  48.